package com.liujun.spring4.demo.aop.iocset.xmlset.constructor;

/**
 * 构造函数注入
 *
 * @author liujun
 * @version 1.0
 * @date 2018-08-16 16:43:00
 */
public class Cars2 {

  private int maxSpeed;

  private String brand;

  private String corp;

  private double price;

  public Cars2(String brand, String corp, double price) {
    this.brand = brand;
    this.corp = corp;
    this.price = price;
  }

  public Cars2(String brand, String corp, int maxSpeed) {
    this.brand = brand;
    this.corp = corp;
    this.maxSpeed = maxSpeed;
  }
}
